import Request from "./Request";
export async function UploadBigFile(name:string,data:ArrayBuffer){
    const result=await Request.post("/film/upload",data,{headers:{"x-file-name":name}})
    return result.data;
}

export async function UploadFinish(data:{name:string,extName:string}){
    const result=await Request.post("/film/uploadFinish",data);
    return result.data;
}